﻿using BXH.Movie.Dal;
using BXH.Movie.FrmUsers;
using BXH.Movie.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace BXH.Movie
{
    static class Program
    {
        public static UserInfo LoginUser = null;
        /// <summary>
        /// 应用程序的主入口点。
        /// </summary>
        [STAThread]
        static void Main()
        {
            UserInfoDal dal = new UserInfoDal();
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            //Form mainForm = null;
            //FrmLogin frmLogin = new FrmLogin();
            //if (frmLogin.ShowDialog() == DialogResult.OK)
            //{
            //    mainForm = frmLogin.MainForm;
            //    Application.Run(mainForm);
            //}
            Application.Run(new FrmMain());
        }
    }
}
